package DesignPattern.SimpleFactory;

class Subtraction implements Operation {   //减法类

    @Override
    public int getResult(int a,int b) {
        return a - b;
    }
}